package com.tanguy.user.ui.trip.activity.adapter

import android.view.View
import com.tanguy.user.R
import com.tanguy.user.base.JustAdapter
import com.tanguy.user.bean.station.SiteBean
import com.tanguy.user.utlis.extend.setText

/**
 * Created by dab on 2017/11/20 0020 16:19
 */
class StationAdapter(data: ArrayList<SiteBean>) : JustAdapter<SiteBean>(data, R.layout.item_station) {
    override fun bind(itemView: View, data: SiteBean, position: Int) {
        itemView.apply {
            setText(R.id.tv_name, data.name)
        }

    }


}